﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage2.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Default2" Title="Doanh Nghiệp Quảng Cáo" %>
<%@ Register TagPrefix="cc1" Namespace="SiteUtils" Assembly="CollectionPager" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    </asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<asp:DataList ID="dtlGianHang" runat="server" RepeatColumns="3" Width="100%" >
        <ItemTemplate>
            <asp:HyperLink ID="HyperLink4" runat="server" Font-Bold="True" 
                Font-Size="Medium" ForeColor="#0000CC" 
                NavigateUrl='<%# Eval("ID", "ChiTietGianHang.aspx?ID={0}") %>' 
                Text='<%# Eval("TenGianHang") %>' Height="50px"></asp:HyperLink>
            <br />
            <br />
            <asp:Image ID="Image2" runat="server" Height="150px" 
                ImageUrl='<%# Eval("ThongTinTrinhBay") %>' Width="175px" />
            &nbsp;&nbsp;&nbsp;&nbsp;<br />
            &nbsp;&nbsp;
            <br />
            <asp:Label ID="lbSoLuongSanPham" runat="server" Font-Bold="true"
            ForeColor="Red" Text='<%# Eval("SoLuongSanPham") + " sản phẩm "%>' />
            <br />
            <br />
        </ItemTemplate>
    </asp:DataList>
<CC1:COLLECTIONPAGER id="CollectionPager2" runat="server" BackText="« Trang Trước" 
        FirstText="Đầu Tiên" LabelText="Trang :" LastText="Sau Cùng" 
        NextText="Trang Sau »" 
        ResultsFormat="Hiển Thị  Kết Quả Trang {0}-{1} (Tổng Số {2})">
    </CC1:COLLECTIONPAGER>
    </asp:Content>

